package com.repository;

import com.entity.BusinessUtilityBill;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.Optional;

@Repository
public interface BusinessUtilityRepository extends JpaRepository<BusinessUtilityBill, Integer> {
    Optional<BusinessUtilityBill> findByProjectNameAndBillMonth(String projectName, Date billMonth);
}